import request from '@/utils/request'

// 获取档案树
export function getTreesList(query) {
  return request({
    url: '/archive/StatisticalConfiguration/gettrees',
    method: 'get',
    params: query
  })

}

export function addStatisticalConfiguration(data) {
  return request({
    url: '/archive/StatisticalConfiguration',
    method: 'post',
    data: data
  })
}


export function getDetail(query) {
  return request({
    url: '/archive/StatisticalConfiguration/'+query,
    method: 'get',

  })
}
